package com.kexun.entity.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@TableName("sec_permission")
@Data
@ToString
public class Permission  implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @TableField("permission_name")
    private String permissionName;
    @TableField("menu_name")
    private String menuName;
    @TableField("menu_url")
    private String menuUrl;
    @TableField("parent_id")
    private int parentId;
    @TableField("is_button")
    private int isButton;
    @TableField("permission_desc")
    private String permissionDesc;
    @TableField("create_time")
    private String createTime;
    @TableField("menu_icon")
    private String menuIcon;
    @TableField(exist = false)
    private int count;
    @TableField(exist = false)
    private boolean check;
}
